package com.frank.aopLog.config;

import com.frank.aopLog.entity.BusinessType;

import java.lang.annotation.*;

/**
 * @author 小石潭记
 * @date 2020/10/21 17:14
 * @Description: ${todo}
 */
@Target({ ElementType.PARAMETER, ElementType.METHOD })
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface Log {
    /**
     * 模块
     */
    String title() default "";

    /**
     * 功能
     */
    BusinessType businessType() default BusinessType.OTHER;
}